package com.muyu.user.domain.model;

import com.muyu.common.core.web.model.QueryModel;
import com.muyu.user.domain.req.SysUserGroupQueryReq;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.AllArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 用户分组查询请求模型对象
 *
 * @author liuguoqiang
 * @date 2025-09-14
 */
@Data
@SuperBuilder
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SysUserGroupQueryModel extends QueryModel<SysUserGroupQueryModel> {

    /**
     * 查询构造器
     */
    public static SysUserGroupQueryModel reqBuild( SysUserGroupQueryReq queryReq){
        SysUserGroupQueryModel sysUserGroupQueryModel = SysUserGroupQueryModel.builder()
            .build();
        sysUserGroupQueryModel.domainBuild(queryReq);
        return sysUserGroupQueryModel;
    }
}
